<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>Giveda® Embedded Midware: GRect类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Giveda® Embedded Midware
   &#160;<span id="projectnumber">1.2.0</span>
   </div>
   <div id="projectbrief">本文档受《版权法》、《版权公约》保护。深圳技达®版权所有</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>命名空间</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>友元</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>宏定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>页</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_g_rect-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">GRect类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="class_g_rect.html" title="GRect 代表二维平面中的一个矩形区域。对二维平面上的一个矩形区域进行各种数学运算。 ">GRect</a> 代表二维平面中的一个矩形区域。对二维平面上的一个矩形区域进行各种数学运算。  
 <a href="class_g_rect.html#details">更多...</a></p>

<p><code>#include &lt;gRect.h&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a66651711fd959d226869ba99a0a266c7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a66651711fd959d226869ba99a0a266c7">GRect</a> ()</td></tr>
<tr class="separator:a66651711fd959d226869ba99a0a266c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00f1199f8ace109fbc237916d01d7f45"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a00f1199f8ace109fbc237916d01d7f45">GRect</a> (const <a class="el" href="class_g_point.html">GPoint</a> &amp;topleft, const <a class="el" href="class_g_size.html">GSize</a> &amp;<a class="el" href="class_g_rect.html#add8973435f107ef531413f1c50f69fc9">size</a>)</td></tr>
<tr class="separator:a00f1199f8ace109fbc237916d01d7f45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8489a8a07fa0cc9760ea26a9976c2d84"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a8489a8a07fa0cc9760ea26a9976c2d84">GRect</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#a09bfc0aea29806d289d17ba77b1b4e9a">left</a>, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#a13a1df038b54e538a955f92399e2cb9c">top</a>, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#a6eaad0d77061d41d275b9dd562f46fcd">width</a>, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#ac81b3298e937d677f220608e848f7866">height</a>)</td></tr>
<tr class="separator:a8489a8a07fa0cc9760ea26a9976c2d84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64f15052f8bb404b03a5a5906cbb0699"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a64f15052f8bb404b03a5a5906cbb0699">GRect</a> (const <a class="el" href="struct_t___r_e_c_t.html">T_RECT</a> &amp;tr)</td></tr>
<tr class="separator:a64f15052f8bb404b03a5a5906cbb0699"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9a88f64446095af0f85836aec687a02"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ac9a88f64446095af0f85836aec687a02">isNull</a> () const </td></tr>
<tr class="separator:ac9a88f64446095af0f85836aec687a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4c145f2356c5ce9bd7e61ed77788fea"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ac4c145f2356c5ce9bd7e61ed77788fea">isEmpty</a> () const </td></tr>
<tr class="separator:ac4c145f2356c5ce9bd7e61ed77788fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a368fea670efdf75ff94546834ebfb1c4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a368fea670efdf75ff94546834ebfb1c4">isValid</a> () const </td></tr>
<tr class="separator:a368fea670efdf75ff94546834ebfb1c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09bfc0aea29806d289d17ba77b1b4e9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a09bfc0aea29806d289d17ba77b1b4e9a">left</a> () const </td></tr>
<tr class="separator:a09bfc0aea29806d289d17ba77b1b4e9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13a1df038b54e538a955f92399e2cb9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a13a1df038b54e538a955f92399e2cb9c">top</a> () const </td></tr>
<tr class="separator:a13a1df038b54e538a955f92399e2cb9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaeb31ffd83adb2781f4667f51c7d3b51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#aaeb31ffd83adb2781f4667f51c7d3b51">right</a> () const </td></tr>
<tr class="separator:aaeb31ffd83adb2781f4667f51c7d3b51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b819ac02606211871ae491e37998b9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a8b819ac02606211871ae491e37998b9c">bottom</a> () const </td></tr>
<tr class="separator:a8b819ac02606211871ae491e37998b9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeda82fed7dcc6de3b2e0ae3f6d6c6f7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#aeda82fed7dcc6de3b2e0ae3f6d6c6f7f">x</a> () const </td></tr>
<tr class="separator:aeda82fed7dcc6de3b2e0ae3f6d6c6f7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a971b98acddda8d6b43dbb57c7d05ec61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a971b98acddda8d6b43dbb57c7d05ec61">y</a> () const </td></tr>
<tr class="separator:a971b98acddda8d6b43dbb57c7d05ec61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add8973435f107ef531413f1c50f69fc9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_size.html">GSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#add8973435f107ef531413f1c50f69fc9">size</a> () const </td></tr>
<tr class="separator:add8973435f107ef531413f1c50f69fc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eaad0d77061d41d275b9dd562f46fcd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a6eaad0d77061d41d275b9dd562f46fcd">width</a> () const </td></tr>
<tr class="separator:a6eaad0d77061d41d275b9dd562f46fcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac81b3298e937d677f220608e848f7866"><td class="memItemLeft" align="right" valign="top"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ac81b3298e937d677f220608e848f7866">height</a> () const </td></tr>
<tr class="separator:ac81b3298e937d677f220608e848f7866"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405d91148262a23b1a8e3b6de0dff68f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a405d91148262a23b1a8e3b6de0dff68f">setWidth</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> w)</td></tr>
<tr class="separator:a405d91148262a23b1a8e3b6de0dff68f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71e1177a0ad87e7bc3bb1d0590d9b70a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a71e1177a0ad87e7bc3bb1d0590d9b70a">setHeight</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> h)</td></tr>
<tr class="separator:a71e1177a0ad87e7bc3bb1d0590d9b70a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f5caa26b917720893a2025e77c3fba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a96f5caa26b917720893a2025e77c3fba">setSize</a> (const <a class="el" href="class_g_size.html">GSize</a> &amp;s)</td></tr>
<tr class="separator:a96f5caa26b917720893a2025e77c3fba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9a820be9c24e713a646ca767c37bdfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#aa9a820be9c24e713a646ca767c37bdfd">translate</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> dx, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> dy)</td></tr>
<tr class="separator:aa9a820be9c24e713a646ca767c37bdfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b0903ce9a21553c38556dac79756be9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a7b0903ce9a21553c38556dac79756be9">translate</a> (const <a class="el" href="class_g_point.html">GPoint</a> &amp;p)</td></tr>
<tr class="separator:a7b0903ce9a21553c38556dac79756be9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a600e20e8d7d9fe4133d2c785d8f1b8fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a600e20e8d7d9fe4133d2c785d8f1b8fd">moveBy</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> dx, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> dy)</td></tr>
<tr class="separator:a600e20e8d7d9fe4133d2c785d8f1b8fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfdb6c27574661fe296320d12cc778c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#acfdb6c27574661fe296320d12cc778c4">moveBy</a> (const <a class="el" href="class_g_point.html">GPoint</a> &amp;p)</td></tr>
<tr class="separator:acfdb6c27574661fe296320d12cc778c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fc402262f20473fff84e7ffcf31b6dd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a5fc402262f20473fff84e7ffcf31b6dd">moveTopLeft</a> (const <a class="el" href="class_g_point.html">GPoint</a> &amp;p)</td></tr>
<tr class="separator:a5fc402262f20473fff84e7ffcf31b6dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5df3084e3799dd11fa8ab6006b6a5ed0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a5df3084e3799dd11fa8ab6006b6a5ed0">setRect</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#aeda82fed7dcc6de3b2e0ae3f6d6c6f7f">x</a>, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> <a class="el" href="class_g_rect.html#a971b98acddda8d6b43dbb57c7d05ec61">y</a>, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> w, <a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> h)</td></tr>
<tr class="separator:a5df3084e3799dd11fa8ab6006b6a5ed0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e71e74fd7bf891577b8b1b9ea14d344"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_rect.html">GRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a3e71e74fd7bf891577b8b1b9ea14d344">intersect</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r) const </td></tr>
<tr class="separator:a3e71e74fd7bf891577b8b1b9ea14d344"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa07cac38272122183229d87bcc18b7aa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#aa07cac38272122183229d87bcc18b7aa">intersects</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r) const </td></tr>
<tr class="separator:aa07cac38272122183229d87bcc18b7aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff8d61eaac87cb0279a6832b0dccf966"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_point.html">GPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#aff8d61eaac87cb0279a6832b0dccf966">topLeft</a> () const </td></tr>
<tr class="separator:aff8d61eaac87cb0279a6832b0dccf966"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16827a7ef319392c15bce3b9b61b7a54"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_point.html">GPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a16827a7ef319392c15bce3b9b61b7a54">bottomLeft</a> () const </td></tr>
<tr class="separator:a16827a7ef319392c15bce3b9b61b7a54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a033a8b934092bb82f46067391b0a19c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_point.html">GPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a033a8b934092bb82f46067391b0a19c8">topRight</a> () const </td></tr>
<tr class="separator:a033a8b934092bb82f46067391b0a19c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a482f0c0eccad8a17c0d66b3c1ca32b62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_point.html">GPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a482f0c0eccad8a17c0d66b3c1ca32b62">bottomRight</a> () const </td></tr>
<tr class="separator:a482f0c0eccad8a17c0d66b3c1ca32b62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a4e9f2d86a4203a9094f83a4974d3ba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_point.html">GPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a5a4e9f2d86a4203a9094f83a4974d3ba">center</a> () const </td></tr>
<tr class="separator:a5a4e9f2d86a4203a9094f83a4974d3ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a368d464f76da89da64fc28d825edda19"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a368d464f76da89da64fc28d825edda19">moveLeft</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:a368d464f76da89da64fc28d825edda19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a19a994dc0d15cf9758ac0cdbb06d5488"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a19a994dc0d15cf9758ac0cdbb06d5488">moveRight</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:a19a994dc0d15cf9758ac0cdbb06d5488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9366878af087dc66ffbf8078ee50dfd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a9366878af087dc66ffbf8078ee50dfd9">moveTop</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:a9366878af087dc66ffbf8078ee50dfd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af914a0a30ff630696367334c5781b6a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#af914a0a30ff630696367334c5781b6a8">moveBottom</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:af914a0a30ff630696367334c5781b6a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ecb1b1fbc694b2eece352314017cc8b"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a8ecb1b1fbc694b2eece352314017cc8b">contains</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r, bool proper=false) const </td></tr>
<tr class="separator:a8ecb1b1fbc694b2eece352314017cc8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a206da9d8a8abe0662dbe225ea6ca38a5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a206da9d8a8abe0662dbe225ea6ca38a5">contains</a> (const <a class="el" href="class_g_point.html">GPoint</a> &amp;p, bool proper=false) const </td></tr>
<tr class="separator:a206da9d8a8abe0662dbe225ea6ca38a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d7c4980d14b0d43185b2720f45aa89a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_g_rect.html">GRect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a7d7c4980d14b0d43185b2720f45aa89a">operator&amp;</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;r) const </td></tr>
<tr class="separator:a7d7c4980d14b0d43185b2720f45aa89a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9977ba1a144ef1f67a4c1c884411be3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ad9977ba1a144ef1f67a4c1c884411be3">setLeft</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:ad9977ba1a144ef1f67a4c1c884411be3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ddeb16feaa8fce8e8431ec00eaa9aca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a2ddeb16feaa8fce8e8431ec00eaa9aca">setTop</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:a2ddeb16feaa8fce8e8431ec00eaa9aca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0862e40c99eef225e25840ad3ba47ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ab0862e40c99eef225e25840ad3ba47ac">setRight</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:ab0862e40c99eef225e25840ad3ba47ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3fcf31d78dd0a4a623432e077411a73"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#ad3fcf31d78dd0a4a623432e077411a73">setBottom</a> (<a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> pos)</td></tr>
<tr class="separator:ad3fcf31d78dd0a4a623432e077411a73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82f4c5dae412ff43f938f5dcae59f122"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_t___r_e_c_t.html">T_RECT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a82f4c5dae412ff43f938f5dcae59f122">toT_RECT</a> () const </td></tr>
<tr class="separator:a82f4c5dae412ff43f938f5dcae59f122"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a8201b9cf462f52d12b5f09e2b382051e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_rect.html#a8201b9cf462f52d12b5f09e2b382051e">operator==</a> (const <a class="el" href="class_g_rect.html">GRect</a> &amp;, const <a class="el" href="class_g_rect.html">GRect</a> &amp;)</td></tr>
<tr class="separator:a8201b9cf462f52d12b5f09e2b382051e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="class_g_rect.html" title="GRect 代表二维平面中的一个矩形区域。对二维平面上的一个矩形区域进行各种数学运算。 ">GRect</a> 代表二维平面中的一个矩形区域。对二维平面上的一个矩形区域进行各种数学运算。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a class="anchor" id="a66651711fd959d226869ba99a0a266c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRect::GRect </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a00f1199f8ace109fbc237916d01d7f45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRect::GRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_point.html">GPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>topleft</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_g_size.html">GSize</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8489a8a07fa0cc9760ea26a9976c2d84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRect::GRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>left</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>top</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a64f15052f8bb404b03a5a5906cbb0699"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GRect::GRect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_t___r_e_c_t.html">T_RECT</a> &amp;&#160;</td>
          <td class="paramname"><em>tr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a8b819ac02606211871ae491e37998b9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::bottom </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a16827a7ef319392c15bce3b9b61b7a54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_point.html">GPoint</a> GRect::bottomLeft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a482f0c0eccad8a17c0d66b3c1ca32b62"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_point.html">GPoint</a> GRect::bottomRight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5a4e9f2d86a4203a9094f83a4974d3ba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_point.html">GPoint</a> GRect::center </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a8ecb1b1fbc694b2eece352314017cc8b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>proper</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a206da9d8a8abe0662dbe225ea6ca38a5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_point.html">GPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>proper</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac81b3298e937d677f220608e848f7866"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::height </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3e71e74fd7bf891577b8b1b9ea14d344"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_rect.html">GRect</a> GRect::intersect </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa07cac38272122183229d87bcc18b7aa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::intersects </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac4c145f2356c5ce9bd7e61ed77788fea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::isEmpty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ac9a88f64446095af0f85836aec687a02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::isNull </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a368fea670efdf75ff94546834ebfb1c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool GRect::isValid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a09bfc0aea29806d289d17ba77b1b4e9a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::left </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="af914a0a30ff630696367334c5781b6a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveBottom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a600e20e8d7d9fe4133d2c785d8f1b8fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveBy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="acfdb6c27574661fe296320d12cc778c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveBy </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_point.html">GPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a368d464f76da89da64fc28d825edda19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveLeft </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a19a994dc0d15cf9758ac0cdbb06d5488"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveRight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9366878af087dc66ffbf8078ee50dfd9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveTop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5fc402262f20473fff84e7ffcf31b6dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::moveTopLeft </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_point.html">GPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7d7c4980d14b0d43185b2720f45aa89a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_rect.html">GRect</a> GRect::operator&amp; </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname"><em>r</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aaeb31ffd83adb2781f4667f51c7d3b51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::right </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad3fcf31d78dd0a4a623432e077411a73"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setBottom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a71e1177a0ad87e7bc3bb1d0590d9b70a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setHeight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>h</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad9977ba1a144ef1f67a4c1c884411be3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setLeft </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5df3084e3799dd11fa8ab6006b6a5ed0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setRect </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab0862e40c99eef225e25840ad3ba47ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setRight </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a96f5caa26b917720893a2025e77c3fba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setSize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_size.html">GSize</a> &amp;&#160;</td>
          <td class="paramname"><em>s</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ddeb16feaa8fce8e8431ec00eaa9aca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setTop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a405d91148262a23b1a8e3b6de0dff68f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::setWidth </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>w</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="add8973435f107ef531413f1c50f69fc9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_size.html">GSize</a> GRect::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a13a1df038b54e538a955f92399e2cb9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::top </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aff8d61eaac87cb0279a6832b0dccf966"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_point.html">GPoint</a> GRect::topLeft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a033a8b934092bb82f46067391b0a19c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_g_point.html">GPoint</a> GRect::topRight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a82f4c5dae412ff43f938f5dcae59f122"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="struct_t___r_e_c_t.html">T_RECT</a> GRect::toT_RECT </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa9a820be9c24e713a646ca767c37bdfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::translate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a>&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a7b0903ce9a21553c38556dac79756be9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GRect::translate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_point.html">GPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a6eaad0d77061d41d275b9dd562f46fcd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aeda82fed7dcc6de3b2e0ae3f6d6c6f7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::x </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a971b98acddda8d6b43dbb57c7d05ec61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="g_global_8h.html#a7e10d76994c6d6f42216e5a310255abf">T_OFFSET</a> GRect::y </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">友元及相关函数文档</h2>
<a class="anchor" id="a8201b9cf462f52d12b5f09e2b382051e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_g_rect.html">GRect</a> &amp;&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>API/<a class="el" href="g_rect_8h.html">gRect.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2019年 三月 23日 星期六 14:13:10 , 为 Giveda® Embedded Midware使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
